from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.views.generic import RedirectView
from account import views
urlpatterns = [
    url(r'^login/$', auth_views.LoginView.as_view(), name='login'),
    url(r'^logout/$', auth_views.LogoutView.as_view(), name='logout'),
    url(r'^admin/', admin.site.urls),
  
    url(r'^upload/', views.upload, name='upload'),
    url(r'^imgtostr/', views.imgtostr, name='imgtostr'),
  
    url(r'^', include('account.urls')),
 
]
